package com.designpatterns.templatemethod.template;

/**
 * @author Brook
 */
public class Tea {

    public void prepareRecipe() {
        boilWater();
        setTeaBag();
        pourInCup();
        addLemon();
    }

    private void boilWater() {
        System.out.println("Boiling water");
    }

    private void setTeaBag() {
        System.out.println("Steeping the tea");
    }

    private void addLemon() {
        System.out.println("adding lemon");
    }

    private void pourInCup() {
        System.out.println("pouring into cup");
    }

}
